import 'package:seedfour/generated/json/base/json_field.dart';
import 'package:seedfour/generated/json/file_search_list_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class FileSearchListEntity {
	int? total;
	List<FileSearchData>? data;

	FileSearchListEntity();

	factory FileSearchListEntity.fromJson(Map<String, dynamic> json) => $FileSearchListEntityFromJson(json);

	Map<String, dynamic> toJson() => $FileSearchListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class FileSearchData {
	String? caseId;
	String? name;
	String? takername;
	int? fileId;
	String? remark;
	String? fileName;
	int? deliveryType;
	int? createdAt;
	int? applyType;
	String? applyId;

	FileSearchData();

	factory FileSearchData.fromJson(Map<String, dynamic> json) => $FileSearchDataFromJson(json);

	Map<String, dynamic> toJson() => $FileSearchDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}